<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
 <%
  int name =Integer.valueOf(session.getAttribute("login").toString());
  if(name <=0){
  out.print("<script>alert('您还未登录，请返回登录页面！');location = 'web_2/login2.jsp';</script>");
  }
  %>